QT += widgets

TEMPLATE = lib
DEFINES += JWHS_LIBRARY WAVE_FORMAT_PCM _CRT_SECURE_NO_WARNINGS _MODEL _RUSSIAN _DRIPDEF

QMAKE_CFLAGS += -fpermissive
QMAKE_CXXFLAGS += -fpermissive

DESTDIR = ../LIBS

CONFIG += c++17

INCLUDEPATH += ..
INCLUDEPATH += ../JWTS
INCLUDEPATH += ../baseclasses

# Additional library paths
LIBS += -L../LIBS

# Libraries your project depends on
LIBS += -lJWTS -lJD3D -lJWWS -lJWDC -lJWSN -lPLAYWND

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    ANIDLG.CPP \
    BTNDLG.CPP \
    CHANNEL.CPP \
    DIBDUMP.CPP \
    DSKDLG.CPP \
    DSKGEN.CPP \
    DSKGENRT.CPP \
    I_BUTTON.CPP \
    I_CBT.CPP \
    I_CHANN.CPP \
    I_DIAGN.CPP \
    I_DSK.CPP \
    I_FLIC.CPP \
    I_GRAPH.CPP \
    I_GROUP.CPP \
    I_LIBR.CPP \
    I_MEDIA.CPP \
    I_OBJECT.CPP \
    I_OBJTRC.CPP \
    I_POST.CPP \
    I_SOUND.CPP \
    I_SUPDLG.CPP \
    I_SUPER.CPP \
    I_SUPKBD.CPP \
    I_TCIMSG.CPP \
    I_TIMER.CPP \
    I_WINDOW.CPP \
    JCLERR.CPP \
    JCLINCOMP.CPP \
    JCLREADST.CPP \
    JCLSETT.CPP \
    JCLSTAT.CPP \
    JCLWR.CPP \
    NETCLIENT.CPP \
    OBJLST.CPP \
    ObjPosDialog.cpp \
    POSDLG.CPP \
    RESULTS.CPP \
    RTEDLG.CPP \
    SUPERDUMP.CPP \
    VIEWDLG.CPP \
    WHS.CPP \
    WHSOBJ.CPP \
    WINANI.CPP \
    WINBTN.CPP \
    WINDLG.CPP \
    WINGEN.CPP \
    WINGENRT.CPP \
    WINSOUND.CPP \
    WINSTRING.CPP

HEADERS += \
    INCLUDE/ANIDLG.HPP \
    INCLUDE/AUTOMATIC_IDL.H \
    INCLUDE/BTNDLG.HPP \
    INCLUDE/CHANNEL.HPP \
    INCLUDE/CLIENTSERVER.H \
    INCLUDE/DIBDUMP.HPP \
    INCLUDE/DSKDLG.HPP \
    INCLUDE/DSKGEN.HPP \
    INCLUDE/EXTERNAL_WS.H \
    INCLUDE/IDYNAMICQ.H \
    INCLUDE/IGEOTRANS.H \
    INCLUDE/INTERPRS.HPP \
    INCLUDE/I_DIAGN.HPP \
    INCLUDE/I_DSK.HPP \
    INCLUDE/I_LIBR.HPP \
    INCLUDE/I_POST.HPP \
    INCLUDE/I_SUPER.HPP \
    INCLUDE/I_TCIMSG.HPP \
    INCLUDE/I_TIMER.HPP \
    INCLUDE/JCLINCOMPDEF.HPP \
    INCLUDE/JCLMT.H \
    INCLUDE/JCLTINFO.H \
    INCLUDE/JWHS.HPP \
    INCLUDE/JWHS_DEF.H \
    INCLUDE/JWHS_global.h \
    INCLUDE/MODELTYPES.H \
    INCLUDE/MODELTYPES2.H \
    INCLUDE/MOFPI_NET_EXPORT.H \
    INCLUDE/MTYPE.H \
    INCLUDE/NETCLIENT.H \
    INCLUDE/NETCLIENTRES.H \
    INCLUDE/OI.H \
    INCLUDE/POSDLG.HPP \
    INCLUDE/POSDLGDEF.HPP \
    INCLUDE/RESOURCE.H \
    INCLUDE/RESOURCE1.H \
    INCLUDE/RESULTS.HPP \
    INCLUDE/SUPERDUMP.HPP \
    INCLUDE/VIEWDLG.HPP \
    INCLUDE/WHS.HPP \
    INCLUDE/WHSOBJ.HPP \
    INCLUDE/WINANI.HPP \
    INCLUDE/WINBTN.HPP \
    INCLUDE/WINDLG.HPP \
    INCLUDE/WINGEN.HPP \
    INCLUDE/WINSOUND.HPP \
    INCLUDE/WINSTRING.HPP \
    INCLUDE/WINXAUDIO.HPP \
    INCLUDE/highlevelmonitorconfigurationapi.h \
    INCLUDE/lowlevelmonitorconfigurationapi.h \
    INCLUDE/physicalmonitorenumerationapi.h \
    JWHS.RC \
    INCLUDE/ObjPosDialog.h

# Default rules for deployment.
unix {
    target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target

FORMS += \
    ObjPosDialog.ui
